package vashion.azeroth.core.personal.pojo;

import java.math.BigDecimal;
import java.util.Date;

import vashion.azeroth.core.pojo.BaseObject;

public class ConfigVip extends BaseObject implements Comparable<ConfigVip> {

	private static final long serialVersionUID = 3609174302233167297L;

	private Long vipId;

    private String vipLevel;

    private String vipName;

    private Integer experienceValue;

    private String vipImg;
    
    private BigDecimal rebateRate;

    private Date timeAdd;

    private Date timeEdit;

    private String remark;

    public Long getVipId() {
        return vipId;
    }

    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }

    public String getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(String vipLevel) {
        this.vipLevel = vipLevel;
    }

    public String getVipName() {
        return vipName;
    }

    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public Integer getExperienceValue() {
        return experienceValue;
    }

    public void setExperienceValue(Integer experienceValue) {
        this.experienceValue = experienceValue;
    }

    public String getVipImg() {
        return vipImg;
    }

    public void setVipImg(String vipImg) {
        this.vipImg = vipImg;
    }

    public Date getTimeAdd() {
        return timeAdd;
    }

    public void setTimeAdd(Date timeAdd) {
        this.timeAdd = timeAdd;
    }

    public Date getTimeEdit() {
        return timeEdit;
    }

    public void setTimeEdit(Date timeEdit) {
        this.timeEdit = timeEdit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public BigDecimal getRebateRate() {
		return rebateRate;
	}

	public void setRebateRate(BigDecimal rebateRate) {
		this.rebateRate = rebateRate;
	}

	@Override
	public int compareTo(ConfigVip configVip) {
		return this.experienceValue.compareTo(configVip.getExperienceValue());
	}

}